﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/admin/Views/Shared/List.Master"
    Inherits="System.Web.Mvc.ViewPage<Longtop.Web.WebSite.Admin.Labels.ListModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <thead>
        <tr>
            <th>
                编号
            </th>
            <th>
                部门
            </th>
            <%--<th>
                父类名
            </th>--%>
            <th>
                排序
            </th>
            <th>
                操作
            </th>
        </tr>
    </thead>
    <tbody>
        <% foreach (var item in Model.PagedList) {
        %>
        <tr>
            <td>
                    <%=item.LableId%>
            </td>
            <td>
                <%=item.Text %>
            </td>
            <%-- <td>
                <%=item.Text%>
            </td>--%>
            <td>
                <%= item.Sort %>
            </td>
            <td>
                <%= Html.ActionLink("查看业绩报表", "Achievements", new { id = item.LableId })%>
                |
                <%= Html.ActionLink("添加新业绩", "create", new {controller="achievements",id=item.LableId}) %>
               <%-- |
                <%= Html.ActionLink("人员管理", "create", new {controller="sales",id=item.LableId}) %>
                |
                <%= Html.ActionLink("删除", "Delete", new {  id=item.LableId}) %>--%>
            </td>
        </tr>
        <% } %>
    </tbody>
    
        <script type="text/javascript">

            $(function() {
                $('.allopStyle').hide();
            });
    </script>
</asp:Content>
<asp:Content ID="Pager" ContentPlaceHolderID="Pager" runat="server">

    <%=Html.Pager(Model) %>
</asp:Content>

